.no-event {
  pointer-events: none;

  i,
  span {
    pointer-events: none;
  }

  .el-checkbox__input.is-checked .el-checkbox__inner {
    background-color: #909399;
    color: inherit;
    border-color: #909399;
  }

  .el-checkbox__input.is-checked + .el-checkbox__label {
    color: inherit;
  }

  .el-radio__input.is-checked .el-radio__inner {
    background-color: #909399;
    border-color: #909399;
  }

  .el-radio__input.is-checked + .el-radio__label {
    color: inherit;
  }

  .el-select {
    .el-tag.el-tag--info {
      background-color: #f4f4f5;
      border-color: #e9e9eb;
      color: #909399;
    }

    .el-tag.el-tag--info .el-tag__close,
    .el-tag.el-tag--info span {
      color: inherit;
    }

    .el-tag__close.el-icon-close {
      display: none;
    }
  }
}

.pointer {
  cursor: pointer;
}

.textarea-readonly {
  pointer-events: all;

  textarea {
    &:active,
    &:hover,
    &:focus {
      border-color: #dcdfe6;
    }
  }
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.fluid-width {
  width: 100%;
}

.fluid-center {
  text-align: center;
  width: 100%;
}

.inline-block {
  display: inline-block;
}

.relative {
  position: relative;
}

.fr {
  float: right;
}

.hidden {
  display: none !important;
}
.sm-avatar {
  width: 50px;
  height: 50px;
  border-radius: 8px;
}

.flex-warp {
  flex-wrap: wrap;
}

.flex-start {
  display: flex;
  justify-content: flex-start;
}

.flex-end {
  display: flex;
  justify-content: flex-end;
}

.image-contain {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  vertical-align: middle;
}

.bg-white {
  background: #fff;
}

.scrollbar-hidden {
  overflow: auto;
  &::-webkit-scrollbar {
    width: 0px;
  }
}

.gray {
  filter: grayscale(100%);
}
